package com.Bride.smarthome.domain.Device;

import com.Bride.common.core.web.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 设备管理对象 device
 *
 * @author Bride
 * @date 2025-09-12
 */
@Schema(description = "设备管理对象")
public class Device extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 设备ID */
    @Schema(description = "设备ID")
    private Long deviceId;

    /** 设备名称 */
    @Schema(description = "设备名称")
    private String deviceName;

    /** 设备类型 */
    @Schema(description = "设备类型")
    private String deviceType;

    /** 设备位置 */
    @Schema(description = "设备位置")
    private String location;

    /** 设备状态 */
    @Schema(description = "设备状态")
    private String status;

    /** 删除标志（0代表存在 1代表删除） */
    @Schema(description = "删除标志")
    private Integer delFlag = 0;

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }
}
